
// element-ui 统一样式处理
.public-el-select-filterable{
  width: 100%;
  .el-input {
    .el-input__inner {
      color: #ffffff;
      // background: rgba(0, 18, 44, 0.6);
      background: rgba(0, 18, 44, 0);
      border: 1px solid #1df7ff;
    }
    .el-select__caret {
      color: #7fe2ff;
    }
  }
  .el-input.is-focus .el-input__inner {
    border-color: #1df7ff;
    caret-color: #1df7ff;
  }
}

// el-option
.public-el-option-filterable {
  width: 200px;
  // background-color: rgba(0, 3, 45, 0.5);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid #1df7ff;

  .el-select-dropdown__list {
    background: transparent;

    .el-select-dropdown__item {
      background: transparent;
      color: #ffffff;
      height: auto;
      line-height: inherit;
      white-space: normal;
      padding-top: 5px;
      padding-bottom: 5px;
      font-size: 12px;
      margin-bottom: 1px;
    }
    .el-select-dropdown__item:last-child{
      margin-bottom: 0;
    }

    .el-select-dropdown__item:hover,
    .el-select-dropdown__item.selected {
      color: #1df7ff;
      background: rgba(0, 72, 133, 0.5);
    }
  }

  .popper__arrow::after {
    border-bottom-color: #1df7ff !important;
    top: 0px !important;
  }

  .el-scrollbar__thumb {
    display: none !important;
  }

  .el-select-dropdown__empty {
    background: rgba(0, 0, 0, 0.1);
    color: #7fe2ff;
  }
}

// 下拉无边框
.public-el-select-no-border {
  width: 160px;
  position: absolute;
  right: 10px;
  top: 16px;
  .el-input {
    .el-input__inner {
      border: none;
      background: transparent;
    }
  }
}
.public-el-option-no-border {
  background: rgba(0, 0, 0, 0.5);
  border: none;
}

/** 下拉宽度 **/
.cus-width-90{
  width: 90px;
}
.cus-width-100{
  width: 100px;
}
.cus-width-110{
  width: 110px;
}
.cus-width-120{
  width: 120px;
}

// 时间/日期选择器
.public-el-picker {
  background: rgba(0, 255, 255, 0.2);
  border: 1px solid #00ffff;
  .el-range__icon,
  .el-range-input,
  .el-range-separator,
  .el-range-input::placeholder,
  .el-range__close-icon {
    color: #00ffff;
  }
  .el-range-input {
    outline: 0 none;
    background: transparent;
  }
  &:hover,&.is-active,&.is-active:hover{
    border-color: #00ffff;
  }
  // 有圆角的时间/日期选择器
  &.public-el-picker-radius{
    border-radius: 20px;
  }
}

// 日期范围选择选项
.public-el-picker-filterable{
  background: rgba(0, 0, 0, 0.8);
  border-color: transparent;
  color: #fff;
  .el-date-table td.today span,.el-date-table td.available:hover{
    color: #fff;
  }
  .el-date-table td.next-month, .el-date-table td.prev-month{
    color: rgba(255, 255, 255, 0.6);
  }
  .el-date-table td.disabled div{
    background-color: rgba(0, 53, 98, 0.7);
    color: #a0a5af;
  }
  .el-date-table th{
    color: #fff;
  }
  .el-date-table th,.el-date-range-picker__content.is-left{
    border-color: rgba(255, 255, 255, 0.4);
  }
  &[x-placement^=top] .popper__arrow,&[x-placement^=top] .popper__arrow::after{
    border-top-color: rgba(0, 0, 0, 0.8);
  }
  &[x-placement^=bottom] .popper__arrow,&[x-placement^=bottom] .popper__arrow::after{
    border-bottom-color: rgba(0, 0, 0, 0.8);
  }
  // 选中
  .el-date-table td.in-range div, .el-date-table td.in-range div:hover, .el-date-table.is-week-mode .el-date-table__row.current div, .el-date-table.is-week-mode .el-date-table__row:hover div{
    background: rgba(47, 160, 255, 0.4);
  }
  .el-date-table td.end-date span, .el-date-table td.start-date span{
    background: rgba(47, 160, 255, 1);
  }
  // 年份，月份切换
  .el-picker-panel__icon-btn{
    color: #00ffff;
  }

  .el-date-range-picker__editor {
    .el-input__inner {
      background: none;
      color: #fff;
    }
  }
  .el-picker-panel__footer {
    background: rgba(0, 0, 0, 0.6);
    .el-button--default {
      background: rgba(47, 160, 255, 1);
      border-color: rgba(47, 160, 255, 1);
      color: #fff;
    }
  }
  .el-time-panel {
    background-color: rgba(0, 0, 0, 1);
    .el-time-spinner__item {
      color: #fff;
      &:hover {
        background-color: rgba(0, 0, 0, 0);
        color: #00C6FF;
      }
    }
  }
}

// 时间范围选择选项
.public-el-time-filterable{
  background: rgba(0, 0, 0, 0.6);
  border-color: transparent;
  color: #fff;
  .el-time-spinner__item{
    color: rgba(255, 255, 255, 0.8);
  }
  .el-time-spinner__item.active:not(.disabled),.el-time-panel__btn{
    color: rgba(255, 255, 255, 1);
  }
  .el-time-range-picker__body,.el-time-panel__footer,.el-time-panel__content::after, .el-time-panel__content::before{
    border-color: rgba(255, 255, 255, 0.4);
  }
  .el-time-panel__btn.confirm{
    color: #00ffff;
  }
  .el-time-spinner__item:hover:not(.disabled):not(.active){
    background-color: transparent;
  }
  &[x-placement^=top] .popper__arrow,&[x-placement^=top] .popper__arrow::after{
    border-top-color: rgba(0, 0, 0, 0.6);
  }
  &[x-placement^=bottom] .popper__arrow,&[x-placement^=bottom] .popper__arrow::after{
    border-bottom-color: rgba(0, 0, 0, 0.6);
  }
}

// 日期-时间范围选择选项
.public-el-date-time {
  background: rgba(0, 0, 0, 0.8);
  border-color: transparent;
  color: #fff;
  .el-date-table th,.el-date-range-picker__content.is-left{
    border-color: rgba(255, 255, 255, 0.4);
  }
  .el-date-table td.today span,.el-date-table td.available:hover{
    // color: #00ffff;
    color: #fff;
  }
  .el-date-table td.next-month, .el-date-table td.prev-month{
    color: rgba(255, 255, 255, 0.6);
  }
  .el-date-table th,.el-picker-panel__icon-btn{
    color: #fff;
  }
  .el-date-table td.disabled div{
    background-color: rgba(0, 53, 98, 0.7);
    color: #a0a5af;
  }
  // 选中选项
  .el-date-table td.in-range div, .el-date-table td.in-range div:hover, .el-date-table.is-week-mode .el-date-table__row.current div, .el-date-table.is-week-mode .el-date-table__row:hover div{
    background: rgba(47, 160, 255, 0.4);
  }
  .el-date-table td.end-date span, .el-date-table td.start-date span{
    background: rgba(47, 160, 255, 1);
  }
  // 年份，月份切换
  .el-picker-panel__icon-btn{
    color: #00ffff;
  }
  // 箭头
  &[x-placement^=top] .popper__arrow,&[x-placement^=top] .popper__arrow::after{
    border-top-color: rgba(0, 0, 0, 0.8);
  }
  &[x-placement^=bottom] .popper__arrow,&[x-placement^=bottom] .popper__arrow::after{
    border-bottom-color: rgba(0, 0, 0, 0.8);
  }
  // footer
  .el-picker-panel__footer{
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    .el-button{
      display: none;
      background: transparent;
      font-size: 14px;
      margin-left: 10px;
      outline: 0 none;
      border: 0 none;
      color: #fff;
      cursor: pointer;
    }
    .is-plain{
      display: inline-block;
    }
    .el-button.is-disabled.is-plain:hover{
      background: transparent;
      color: #fff;
      cursor: not-allowed;
    }
  }
  // header
  .el-date-range-picker__time-header{
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    .el-time-panel{
      background-color: rgba(0, 0, 0, 1);
      border-color: rgba(255, 255, 255, 0.4);
    }
    .el-input__inner{
      border-color: rgba(255, 255, 255, 0.4);
      background-color: transparent;
    }
    .el-time-spinner__item{
      color: rgba(255, 255, 255, 0.8);
    }
    .el-input__inner,.el-input__inner::placeholder{
      color: #fff;
    }
    .el-time-spinner__item.active:not(.disabled),.el-time-panel__btn{
      color: rgba(255, 255, 255, 1);
    }
    .el-time-spinner__item:hover:not(.disabled):not(.active){
      background: transparent;
      color: #fff;
    }
    .el-time-range-picker__body,.el-time-panel__footer,.el-time-panel__content::after, .el-time-panel__content::before{
      border-color: rgba(255, 255, 255, 0.4);
    }
    .el-time-panel__footer{
      border-color: rgba(255, 255, 255, 0.4);
    }
  }
}

.el-dropdown-menu{
  background-color:#00293e !important;
  border:1px solid #00293e !important;
}
.el-dropdown-menu__item{
  color: #ffffff !important;
}
.el-dropdown-menu__item:focus, .el-dropdown-menu__item:not(.is-disabled):hover{
  color:#66b1ff !important;
}

.el-dropdown-menu{
  transform:scale(0.71429,0.811719);
}
